package com.baiyang.server.service.system.impl;


import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.baiyang.server.dao.system.RoleDao;
import com.baiyang.server.dao.system.UserRoleDao;
import com.baiyang.server.model.system.Role;
import com.baiyang.server.service.impl.BaseServiceImpl;
import com.baiyang.server.service.system.RoleService;

/**
 * 
 * @author XVX
 * BY: @Primary 注解帮助生命@Autowired优先注入的实列
 */
@Service	
public class RoleServiceImpl extends BaseServiceImpl<RoleDao, Role>implements RoleService{
	@Autowired
	private RoleDao roleDao = null;
	
	@Override
	public List<Role> selectRolesByUserId(String id) {
		return roleDao.selectRolesByUserId(id);
	}
	
	
}
